package mge.graph 
{
	/**
   * ...
   * @author ivan
   */
  public class Node 
  {
    
    public function Node(name:String, x:Number = 0, y:Number = 0) 
    {
      trace("new node " + name);
      this.name = name;
      this.x = x;
      this.y = y;
    }
    
    public function toString():String
    {
      return "[" + name + "] x: " + x + ", y: " + y;
    }
    
    public var x:Number;
    public var y:Number;
    public var name:String;
    
  }

}